package com.project.springboot.proxy.cglib;

import com.gitee.yongzhuzl.commonutil.util.equals.EqualsUtil;

/**
 * description: 国漫，目标类，即被代理类
 * @author 朱正磊
 * @date 2024-03-06 14:27:47
 */
public class ChineseCartoon {

    public String person(String name) {
        if (EqualsUtil.isEquals(name, "西游记")) {
            System.out.println("我是齐天大圣孙悟空");
            return "孙悟空";
        }
        return "黑猫警长";
    }

}
